{% set variant = hookable_metadata.context.variant %}
{% set product = hookable_metadata.context.product %}

<td>
    <div class="fw-semibold">{{ variant.name|default(variant.descriptor) }}</div>
    {% if product.hasOptions() %}
        <div>
            {% for option_value in variant.optionValues %}
                <span class="badge text-bg-light text-muted">
                    {{ option_value.value }}
                </span>
            {% endfor %}
        </div>
    {% endif %}
</td>
